<?
include('admin/config.php');
include('settings.php');

if (isset($_SESSION["cart"])) {

    $totalItems = get_cart_totalItems($_SESSION["cart"]);
    $totalPrice = get_cart_total($_SESSION["cart"]);
}
?>
<!DOCTYPE html>
<html>
<head>
    <base href="/">
    <meta charset="UTF-8">
    <title>ASIX Project - Paypal Integration</title>

    <script type="text/javascript" src="libs/jquery.js"></script>
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/ambiance.css">
    <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700italic,600,600italic,400italic,300,300italic'
          rel='stylesheet' type='text/css'>
    <link href="libs/pace/themes/pace.css" rel="stylesheet" type="text/css">
<body>
<div class="wrapper">

    <div class="cart">
        <ul class="menu">
            <li <?= (($_SERVER["PHP_SELF"] == "/index.php") ? "class='active'" : "") ?>><a href="/">Home</a>
            </li>
        </ul>

        <a href="cart/"><i class="icon-shopping-cart"></i>Items <span
                class="items"><?= (($totalItems == "") ? "0" : $totalItems) ?></span> Total <span
                class="total"><?= (($totalPrice == "") ? "0" : $totalPrice) ?> €</span></a>
        <img class="ajx-loader" src="images/ajax-loader.gif" alt="ajax-loader">
    </div>
    <div class="content">
